﻿#ifndef WINDOWSSYSTEMINFO_H
#define WINDOWSSYSTEMINFO_H

#include <QObject>

#include "common_global.h"

namespace Common {

	class WindowsSystemInfo : public QObject
	{
		Q_OBJECT

	public:
		explicit WindowsSystemInfo(QObject *parent = nullptr);
		~WindowsSystemInfo();

		// 获取系统CPU


		// 获取系统内存
		double getMemoryUsage();

		/**
		 * @brief  
		 * @param  
		 * @return 
		 */
		void getMemoryInfo(double & dTotalMemory, double & dAvailMemory);

		/**
		 * @brief  
		 * @param  
		 * @return 
		 */
		void loadHardDiskInfo();
	};

}//namespace Common 

#endif // WINDOWSSYSTEMINFO_H